package com.etc.entity;

public class Person {
	private int id;//id
	private String  account;//账号
	private String  pwd;//密码
	private String  name;//姓名
	private double  balance;//余额
	private String phone;//手机
	private String address;//地址
	private int state;//0：不在线   1：在线
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Person(){
		
	}

	@Override
	public String toString() {
		return "Person [account=" + account + ", address=" + address
				+ ", balance=" + balance + ", id=" + id + ", name=" + name
				+ ", phone=" + phone + ", pwd=" + pwd + ", state=" + state
				+ "]";
	}
	public Person(int id, String account, String pwd, String name,
			double balance, String phone, String address, int state) {
		super();
		this.id = id;
		this.account = account;
		this.pwd = pwd;
		this.name = name;
		this.balance = balance;
		this.phone = phone;
		this.address = address;
		this.state = state;
	}
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public double getBalance() {
		return balance;
	}
	public void setBalance(double balance) {
		this.balance = balance;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	
}
